﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/SalesOneWeb.Master" CodeBehind="AddUserRoles.aspx.cs" Inherits="IronOne.SalesOne.SalesOneWeb.UserManagement.ManageUserRoles" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

<link href="../StyleSheets/salesOne_txtstyle.css" rel="stylesheet" type="text/css" />

    <style type="text/css">
        
    </style>
    
     <script language="javascript" type="text/javascript">

        window.onload = function() {

            var msg = document.getElementById('ctl00_MasterMsg');
            if (msg && msg.innerHTML != '')
                showMessageBlock();
        }
        </script>
    
    </asp:Content>
    
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="detailstable">
<tr>
        <td  >
            User Type:</td>
        <td  >
            <asp:DropDownList ID="ddlRoleType" runat="server" CssClass="ddl"
                onselectedindexchanged="ddlRoleType_SelectedIndexChanged">
            </asp:DropDownList>
        </td>
        <td  >
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td  >
<asp:Label ID="Label1" runat="server" Text="Role Name:" CssClass="lbl1"></asp:Label>
        </td>
        <td  >
            <asp:TextBox ID="txtRole" runat="server" style="margin-left: 1px" CssClass="txtbox"></asp:TextBox>
        </td>
        <td  >
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="txtRole" Display="Dynamic" 
                ErrorMessage="" text="*"></asp:RequiredFieldValidator>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    
    <tr>
        <td colspan="3" class="pix8"  >
            </td>
        <td>
            &nbsp;</td>
    </tr>
    
    <tr>
        <td   colspan="2">
            <table  >
                <tr>
                    <td  >
<asp:Button ID="btnCreateRole" runat="server" onclick="btnCreateRole_Click" CssClass="btn"
    Text="Create Role" style="height: 23px" Visible="False" onclientclick="validationSummery();" Width="76px" 
                            />
                    </td>
                    <td>
<asp:Button ID="btnCancel" runat="server" CssClass="btn"
    Text="Cancel" style="height: 23px" onclick="btnCancel_Click" 
                CausesValidation="False" Width="76px"  />
                    </td>
                </tr>
            </table>
        </td>
        <td  >
            <asp:Label ID="lblError" runat="server" CssClass="lbl"></asp:Label>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    
    <tr>
        <td  >
            &nbsp;</td>
        <td  >
            &nbsp;</td>
        <td  >
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
</table>

    </asp:Content>
